package org.ims.inv.service.conference.impl;

import org.hibernate.criterion.DetachedCriteria;
import org.ims.inv.dao.conference.DAOConferenceMaterial;
import org.ims.inv.model.conference.ModelConferenceMaterial;
import org.ims.inv.service.conference.ServiceConferenceMaterial;

import cn.trymore.core.service.impl.ServiceGenericImpl;

/**
 * Service: 会议资料
 * 
 * @author x36zhao
 *
 */
public class ServiceConferenceMaterialImpl
extends ServiceGenericImpl<ModelConferenceMaterial> implements ServiceConferenceMaterial
{
	
	/**
	 * The repository of conference material
	 */
	private DAOConferenceMaterial daoConferenceMaterial;
	
	/**
	 * The sole constructor
	 * 
	 * @param dao
	 */
	public ServiceConferenceMaterialImpl(DAOConferenceMaterial dao)
	{
		super(dao);
		this.daoConferenceMaterial = dao;
	}
	
	/*
	 * (non-Javadoc)
	 * @see cn.trymore.core.service.impl.ServiceGenericImpl#getCriterias(cn.trymore.core.model.ModelBase)
	 */
	@Override
	protected DetachedCriteria getCriterias(ModelConferenceMaterial domain)
	{
		DetachedCriteria criteria = DetachedCriteria.forClass(ModelConferenceMaterial.class);
		if (domain != null)
		{
			
		}
		return criteria;
	}
	
	public DAOConferenceMaterial getDaoConferenceMaterial()
	{
		return daoConferenceMaterial;
	}

	public void setDaoConferenceMaterial(DAOConferenceMaterial daoConferenceMaterial)
	{
		this.daoConferenceMaterial = daoConferenceMaterial;
	}

}
